﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLyShopCD
{
    public partial class frm_main : Form
    {
        public frm_main()
        {
            InitializeComponent();
        }

        private void hToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void danhMụcToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frm_QLDanhMuc2 f = new frm_QLDanhMuc2();
            f.MdiParent = this;
            f.Show();
        }

        private void thoátToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DialogResult result;
            result = MessageBox.Show("ban co muon thoat hay ko","thong bao",MessageBoxButtons.OKCancel,MessageBoxIcon.Question);
            if(result==DialogResult.OK)
                Application.Exit();
        }

        private void danhMucToolStripMenuItem_Click(object sender, EventArgs e)
        {
            QuanLyShopCD.GUI.frm_caydanhmuc f = new QuanLyShopCD.GUI.frm_caydanhmuc();
            f.MdiParent = this;
            f.Show();
        }

        private void đĩaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            QuanLyShopCD.GUI.frm_QLCD f = new QuanLyShopCD.GUI.frm_QLCD();
            f.MdiParent = this;
            f.Show();
        }
    }
}
